package com.eva.framework.oss.aliyun;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Schema(description = "阿里云OSS参数配置")
@Configuration
@ConfigurationProperties(prefix = "app.oss.aliyun", ignoreInvalidFields = true)
public class AliOSSProperties {

    @Schema(description = "AccessKeyId")
    private String accessKeyId;

    @Schema(description = "AccessKeySecret")
    private String accessKeySecret;

    @Schema(description = "通用存储空间")
    private String commonBucketName;

    @Schema(description = "Endpoint")
    private String endpoint;
}
